package com.wdl.modules.myhouse.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wdl.modules.myhouse.entity.sys.SysUserEntity;
import com.wdl.modules.myhouse.vo.PageVO;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * 
 *
 * @author lucain sunlightcs@gmail.com
 * @since 1.0.0 2022-08-23
 */
@Mapper
@Repository
public interface SysUserDao extends BaseMapper<SysUserEntity> {

    @MapKey("id")
    Map<Integer, Object> getUserInfoByPage(@Param("start") Integer start, @Param("size") Integer size);
}